from django.urls import re_path

from . import views

urlpatterns = [
    re_path(r'^api/v1.0/users$', views.Register.as_view()),
    re_path(r'^api/v1.0/user/name$', views.Modifyusername.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)/images$', views.Listingpicture.as_view()),
    re_path(r'^api/v1.0/orders/(?P<order_id>\d+)/status$', views.Acceptrejectorder.as_view()),
    # re_path(r'^api/v1.0/orders$', views.Getorderlist.as_view()),
]